//
//  NSString+MKUI.h
//  MKUI
//
//  Created by 苏尚进 on 2020/10/12.
//  Copyright © 2020 moon. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (MKUI)
//如果字符串内容为数字时,返回数字对应的NSNumber对象
@property(nonatomic,readonly,nullable) NSNumber *mk_numberValue;
@property(nonatomic,readonly,nullable) NSNumber *mk_numberOfInteger;
@property(nonatomic,readonly,nullable) NSNumber *mk_numberOfLongLong;
@property(nonatomic,readonly,nullable) NSNumber *mk_numberOfCGFloat;
@property(nonatomic,readonly,nullable) NSNumber *mk_numberOfFloat;
@property(nonatomic,readonly,nullable) NSNumber *mk_numberOfDouble;

@property(nonatomic,readonly,nullable) id mk_jsonValue;
@property(nonatomic,readonly,nullable) NSDictionary *mk_jsonDictionary;
@property(nonatomic,readonly,nullable) NSArray *mk_jsonArray;
@end

NS_ASSUME_NONNULL_END
